package com.smh.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.smh.entity.DeviceData;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.ArrayList;

@Mapper
public interface DeviceDataMapper extends BaseMapper<DeviceData> {
    @Select("select * from webclassproject.device_data")
    ArrayList<DeviceData> query();
}
